package com.hongdee.scm.appearance.service;

import com.hongdee.scm.appearance.entity.TScmAppearance;

import java.util.List;
import java.util.Map;

/**
 * 名  称:ITScmAppearanceService
 * 类  型:Interface
 * 描  述:
 * 路  径:com.hongdee.scm.appearance.service
 * 作  者: 术洪超
 * 日  期:2017-05-14 09:19
 */
public interface ITScmAppearanceService {

    /**
     * @param uid            登录用户 ID
     * @param start          起始记录
     * @param limit          页面大小
     * @param appearanceCode 内饰编码
     * @param appearanceName 内饰名称
     * @param carSeriesId  车系id
     * @return Map
     * @throws Exception
     * @desc 通过 JDBCDao分页查询
     * @author 术洪超
     */
    public Map page(String start, String limit, String appearanceCode, String appearanceName, String carSeriesId, String uid) throws Exception;


    public TScmAppearance save(TScmAppearance data, String uid) throws Exception;

    public Map info(String id, String uid) throws Exception;

    /**
     * 外观下拉
     *
     * @param series
     * @param uid
     * @return
     * @throws Exception
     */
    public List combo(String series, String uid) throws Exception;

    public void appearanceCancel(String[] appearanceIds,String uid) throws Exception;


}
